package com.fc.mall.portal.service;

import com.fc.mall.model.UmsMember;
import com.fc.mall.model.UmsMemberUpgrade;
import com.fc.mall.util.Constants;

public interface UmsMemberUpgradeService {

    UmsMemberUpgrade getMemberUpgradeByMemberId(Long memberId);

    void initMemberUpgrade(UmsMember umsMember);

    void handleInviteMember(Long parentMemberId, Long childMemberId);

    void handleTradeUpgrade(Long memberId, Long orderId);

    void updateMemberUpgradeCondition(Long memberId, Constants.UpgradeOperation upgradeOperation);
}
